package com.example.medical.service;

import com.example.medical.entity.dto.*;
import com.example.medical.entity.pojo.Leadership;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.medical.utils.common.result.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
* @author 24354
* @description 针对表【leadership】的数据库操作Service
* @createDate 2024-03-31 22:42:17
*/
public interface LeadershipService extends IService<Leadership> {

    Result UserGetLeadershipList(UserGetLeadershipListDto dto);

    Result LeadershipLogin(LoginDto dto);

    Result SaveLeadership(SaveLeadershipDto dto);

    Result UpdateLeadershipPassword(UpdatePasswordDto dto);

    Result UpdateLeadershipDetail(MultipartFile file, Integer sex) throws Exception;

    Result AdminRemoveLeadershipArr(String[] ids);

    Result AdminUpdateLeadership(Long id,String name, String nick, Long phone, Long number, MultipartFile file, Integer sex, String email) throws Exception;

    Result AdminSaveLeadership(String name, String nick, Long phone, Long number, MultipartFile file, Integer sex, String email) throws Exception;

    Result AdminUpdateLeadershipPassword(Long id);
}
